package com.morningstar.flow.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 抄送记录
 */
@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "flow_node_copy")
public class FlowNodeCopy {

    @TableId(value = "node_copy_id", type = IdType.ASSIGN_ID)
    private Long nodeCopyId;

    @TableField("process_instance_id")
    private String processInstanceId;

    @TableField("node_activity_id")
    private String nodeActivityId;

    @TableField("execution_id")
    private String executionId;

    @TableField("user_id")
    private Long userId;

    @TableField("create_time")
    private LocalDateTime createTime;
}
